package com.woniuxy.demo.epai.dao;

import com.woniuxy.demo.epai.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author epai
 * @since 2021-04-12
 */

public interface UserMapper extends BaseMapper<User> {
    @Select("select  id from e_user where username=#{username} and password=#{password}")
    Integer userLogin(String username,String password);
}
